package com.todod.base.module.system.api.wx;


import com.todod.base.module.system.api.wx.vo.ClassReqVO;
import com.todod.base.module.system.api.wx.vo.ParentMeetingReqVO;
import com.todod.base.module.system.api.wx.vo.ScoreReqVO;
import com.todod.base.module.system.enums.ApiConstants;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(name = ApiConstants.NAME)
@Tag(name = "微信发送通知", description = "微信发送通知")
@RestController
public interface SendSMS {

    String PREFIX = ApiConstants.PREFIX + "/wx-sendsms";

    //考试成绩通知
    @PostMapping(PREFIX + "/score")
    void score(@RequestBody ScoreReqVO scoreReqVO) throws Exception;

    //消课情况
    @PostMapping(PREFIX + "/classDispel")
    void classDispel(@RequestBody ClassReqVO classReqVO) throws Exception;

    @PostMapping(PREFIX + "/parentMeeting")
    void parentMeeting(@RequestBody ParentMeetingReqVO parentMeetingReqVO) throws Exception;
}
